package entity;

import java.util.Date;

/**
 * @Author czl
 * @Date 2023-11-28
 */
public class CommentContent {
   private int commentId;   //评论表ID
   private int usersId;		//用户ID
   private String commentText;		//评论内容
   private Date commentTime;		//评论时间
   private int commentStatus; 	//评论类型，0表示好评，1表示差评

   public int getCommentId() {
      return commentId;
   }

   public int getUsersId() {
      return usersId;
   }

   public String getCommentText() {
      return commentText;
   }

   public Date getCommentTime() {
      return commentTime;
   }

   public int getCommentStatus() {
      return commentStatus;
   }

   public void setCommentId(int commentId) {
      this.commentId = commentId;
   }

   public void setUsersId(int usersId) {
      this.usersId = usersId;
   }

   public void setCommentText(String commentText) {
      this.commentText = commentText;
   }

   public void setCommentTime(Date commentTime) {
      this.commentTime = commentTime;
   }

   public void setCommentStatus(int commentStatus) {
      this.commentStatus = commentStatus;
   }

   public CommentContent(int commentId, int usersId, String commentText, Date commentTime, int commentStatus) {
      this.commentId = commentId;
      this.usersId = usersId;
      this.commentText = commentText;
      this.commentTime = commentTime;
      this.commentStatus = commentStatus;
   }

   public CommentContent() {
   }
}
